package com.lovcreate.shop.service.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * 文件名：OrderType
 * 创建人：victor
 * 创建日期 2016-12-29
 * 描  述：订单类型
 * 版本号： 1.0
 **/
public class OrderType {
    /**
     * 优惠快充
     */
    public static String OilCharge;
    /**
     * 特惠套餐
     */
    public static String OilPackage;
    /**
     * 代办业务
     */
    public static String Agency;
    /**
     * 打折车型
     */
    public static String Insurance;

    static {
        InputStream inputStream = OrderType.class.getClassLoader().getResourceAsStream("ordertype.properties");
        Properties properties = new Properties();
        try {
            properties.load(inputStream);
        } catch (IOException e) {
            e.printStackTrace();
        }
        OilCharge = properties.getProperty("OilCharge");
        OilPackage = properties.getProperty("OilPackage");
        Agency = properties.getProperty("Agency");
        Insurance = properties.getProperty("Insurance");
    }
}
